package com.nervenets.web.controller.admin;

import com.nervenets.web.enumeration.Role;
import lombok.Data;

import java.io.Serializable;

@Data
public class ManagerLoginModel implements Serializable {
    private String token;
    private String name;
    private String mobile;
    private Role role;
    private long id;

    ManagerLoginModel(String token, String name, String mobile, Role role, long id) {
        this.token = token;
        this.name = name;
        this.mobile = mobile;
        this.role = role;
        this.id = id;
    }
}
